Input with new line
Pascal
C/C++
w
var
w
c: char;
w
i: integer;
w
r: real;
w
s: packed array[1..10]
of char;
NO STANDARD PASCAL EQ.
scanf(“%s”, & s);
readln;
while(getchar() != ‘\n’);
readln(c, i, r);
scanf(“%c%d%f”, & c, & i, & r);
while(getchar() != ‘\n’);
w
#include <stdio.h>
w
char c;
w
int i;
w
float r;
w
char s[10];